package com.itSession.cn.entity;

import io.swagger.annotations.ApiModelProperty;

/**
 * @ClassName: ScoreInfo
 * @author: hanP
 * @create: 2023-04-07 09:27:28
 */
public class ScoreInfo {
	private Integer scoreId;
	/** 学科 */
    @ApiModelProperty(value = "学科")
	private String scoreName;
	/** 得分 */
    @ApiModelProperty(value = "得分")
	private String scoreResult;
	/** 学生姓名 */
    @ApiModelProperty(value = "学生姓名")
	private String scoreUname;
	/** 班级 */
    @ApiModelProperty(value = "班级")
	private String scoreUclass;

	public void setScoreId(Integer scoreId) {
		this.scoreId = scoreId;
	}
	
	public Integer getScoreId() {
		return this.scoreId;
	}
	
	public void setScoreName(String scoreName) {
		this.scoreName = scoreName;
	}
	
	public String getScoreName() {
		return this.scoreName;
	}
	
	public void setScoreResult(String scoreResult) {
		this.scoreResult = scoreResult;
	}
	
	public String getScoreResult() {
		return this.scoreResult;
	}
	
	public void setScoreUname(String scoreUname) {
		this.scoreUname = scoreUname;
	}
	
	public String getScoreUname() {
		return this.scoreUname;
	}
	
	public void setScoreUclass(String scoreUclass) {
		this.scoreUclass = scoreUclass;
	}
	
	public String getScoreUclass() {
		return this.scoreUclass;
	}
	

	@Override
    public boolean equals(Object o) {
        if (this == o) { return true; }
        if (o == null || getClass() != o.getClass()) {return false;}
        ScoreInfo that = (ScoreInfo) o;
        return scoreId.equals(that.scoreId);
    }

    @Override
    public int hashCode() {
        return java.util.Objects.hash(scoreId);
    }
    
    @Override
    public String toString() {
        return "ScoreInfo{" +
				"scoreId=" + scoreId +
						",scoreName='" + scoreName + "'" + 
						",scoreResult='" + scoreResult + "'" + 
						",scoreUname='" + scoreUname + "'" + 
						",scoreUclass='" + scoreUclass + "'" + 
		                '}';
    }
	
}